2024-04-23
A brief introduction to …
Examples:
BigCities <- world_cities |>
arrange(desc(population)) |>
head(4000) |>
select(longitude, latitude)
glimpse(BigCities)Rows: 4,000
Columns: 2
$ longitude <dbl> 121.45806, 28.94966, -58.37723, 72.88261, -99.12766, 116.397…
$ latitude <dbl> 31.22222, 41.01384, -34.61315, 19.07283, 19.42847, 39.90750,…
You can visit https://www.tidymodels.org/learn/statistics/k-means/ for a brief explanation of the clustering process using an animation from Allison Horst. Here, I’ll look at the pieces one slide at a time.
Allison’s materials are available at https://github.com/allisonhorst/stats-illustrations/tree/master/other-stats-artwork